package com.ecp.commons.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.FIELD })
public @interface Column {

	VariantType type() default VariantType.STRING;

	boolean nullable() default true;

	String value() default "";

	int length() default 0;

	String alias() default "";

	boolean pk() default false;

	IDGeneratorType idType() default IDGeneratorType.ID_TABLE;
}
